Skip to content

Conversation

@Davidson-Souza
Copy link
Collaborator

This PR adds some basic fuzz integration, with the following targets:

  • pollard_ser: Deserializes the random data as a pollard, serialize it deserialize again and assert they are equal
  • pollard_operations: Creates a few mock block, then applies the deltas to those blocks and checks whether the operations works

This commit adds a fuzz target that generates mock blocks with adds
and dels, then applies those blocks to a new full pollad, and makes sure
that all operations works just as expected.

Blocks are generated from fuzzer's random data, building fake
values. We don't need them to be consensus-valid.
@Davidson-Souza Davidson-Souza added the enhancement New feature or request label Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant